package com.itheima.mapper.store;


import com.itheima.domain.store.Catalog;

import java.util.List;

//Catalog持久层
public interface CatalogMapper {
    //遍历
    List<Catalog> findAll();
    //新增
    void save(Catalog catalog);
    //根据ID数组删除
    void deleteByIds(String[] idArray);
    //根据Id查找
    Catalog findById(String id);
    //更新对象数据
    void update(Catalog catalog);
}
